Skip to content

Add --cluster flag to plan run and update go-sdk#316

Open
daniel-de-vera wants to merge 2 commits intofeature-planfrom
feature-plan-cluster
Open

Add --cluster flag to plan run and update go-sdk#316
daniel-de-vera wants to merge 2 commits intofeature-planfrom
feature-plan-cluster

Conversation

@daniel-de-vera
Copy link
Copy Markdown
Contributor

@daniel-de-vera daniel-de-vera commented Apr 7, 2026

Summary

  • Add --cluster flag to signadot plan run so users can specify the target cluster for executions (required when plans have no cluster affinity)
  • Update go-sdk to pick up latest PlanExecutionSpec with cluster field support

Stacked on #313.
Related to https://github.com/signadot/signadot/pull/6860.

Test plan

  • signadot plan run --help shows --cluster flag
  • signadot plan run <id> --cluster <name> sends cluster in the execution request
  • Plans without cluster affinity and no --cluster flag get a 400 from the API

🤖 Generated with Claude Code

daniel-de-vera and others added 2 commits April 7, 2026 17:09
Plans without cluster affinity now require an explicit cluster in the
execution request. This adds a --cluster flag that maps to the Cluster
field in PlanExecutionSpec.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Picks up the latest SDK with cluster field support in PlanExecutionSpec.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant